package com.xianrenit.xianrenpuzi.manager.service;

import com.xianrenit.xianrenpuzi.model.entity.product.Brand;
import com.xianrenit.xianrenpuzi.model.entity.product.CategoryBrand;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CategoryBrandService {
    PageInfo list(CategoryBrand categoryBrand, Integer pageNum, Integer pageSize);

    void deleteById(Long id);

    void save(CategoryBrand categoryBrand);

    CategoryBrand getById(Long id);

    void update(CategoryBrand categoryBrand);

    List<Brand> listBrandsByC3id(Long c3id);
}
